package com.risen.test.service.impl;

import com.risen.test.mapper.CoreAccountMapper;
import com.risen.test.pojo.CoreAccount;
import com.risen.test.service.CoreAccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @auther lmj
 * @date 2019/8/8
 */

@Service
public class CoreAccountServiceImpl implements CoreAccountService {
    @Autowired
    private CoreAccountMapper coreAccountMapper;

    @Override
    public int deleteByPrimaryKey(Integer CRACT_UNID) {
        return 0;
    }

    @Override
    public int insert(CoreAccount record) {
        return 0;
    }

    @Override
    public CoreAccount selectByPrimaryKey(Integer CRACT_UNID) {
        return null;
    }

    @Override
    public List<CoreAccount> selectAll() {
        return null;
    }

    @Override
    public int updateByPrimaryKey(CoreAccount record) {
        return 0;
    }

    @Override
    public CoreAccount selectByNameAndPwd(CoreAccount coreAccount) {
        return coreAccountMapper.selectByNameAndPwd(coreAccount);
    }
}
